@Inject('$http')
class DepartmentService {

  save(param) {
    return this.$http.post('/api/v1/codeDict/dept/add', param);
  }

  update(param) {
    return this.$http.post('/api/v1/codeDict/dept/update', param);
  }

  /*eslint-disable */
  delete(ids) {
    return this.$http.post('/api/v1/codeDict/dept/delete?id='+ ids);
  }

  query(param) {
    return this.$http.post('/api/v1/codeDict/dept/query', param);
  }

}

export default DepartmentService;
